package com.demo.entity;

/**
 * @author wzm
 * @create 2023-06-29 9:08
 */
public class Student {
    private  Integer id;
    private  String username;
    private Integer age;
    private String address;
    private Integer ordered;
    private Integer status;
    private Integer grade_id;

    public Student() {
    }

    public Student(Integer id, String username, Integer age, String address, Integer ordered, Integer status, Integer grade_id) {
        this.id = id;
        this.username = username;
        this.age = age;
        this.address = address;
        this.ordered = ordered;
        this.status = status;
        this.grade_id = grade_id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getOrdered() {
        return ordered;
    }

    public void setOrdered(Integer ordered) {
        this.ordered = ordered;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getGrade_id() {
        return grade_id;
    }

    public void setGrade_id(Integer grade_id) {
        this.grade_id = grade_id;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", age=" + age +
                ", address='" + address + '\'' +
                ", ordered=" + ordered +
                ", status=" + status +
                ", grade_id=" + grade_id +
                '}';
    }
}
